(line-at-pos): New defun.
authorKim F. Storm <storm@cua.dk>
Thu, 22 Jan 2004 20:42:19 +0000 (20:42 +0000)
committerKim F. Storm <storm@cua.dk>
Thu, 22 Jan 2004 20:42:19 +0000 (20:42 +0000)
commite003a8250df46a7b8bc8cf02744c3e977055613d
tree33f8b2bfa5f1e2db0a50cd2e6f58405f3ce8af7b
parent3973d6242ed205b6922a2a437bc39925f0ec6902
(line-at-pos): New defun.
(what-line): Use it.  Optimize by only counting lines in narrowed region once.
lisp/simple.el